Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND (ctr.langid =1 OR ctr.langid is null) AND c.visible='v' ORDER BY c.sort ASC' at line 4 in /www/webvol24/9r/2nruguc9ldzv74m/roadplan.ie/public_html/app/class/ShopHelper.php:204
Stack trace:
#0 /www/webvol24/9r/2nruguc9ldzv74m/roadplan.ie/public_html/app/class/ShopHelper.php(204): mysqli->query('SELECT c.id, c....')
#1 /www/webvol24/9r/2nruguc9ldzv74m/roadplan.ie/public_html/app/controller/controller_services.php(76): ShopHelper::getServiceCategoryChild(false)
#2 /www/webvol24/9r/2nruguc9ldzv74m/roadplan.ie/public_html/app/controller/controller_main.php(133): include('/www/webvol24/9...')
#3 /www/webvol24/9r/2nruguc9ldzv74m/roadplan.ie/public_html/index.php(218): include('/www/webvol24/9...')
#4 {main}
thrown in /www/webvol24/9r/2nruguc9ldzv74m/roadplan.ie/public_html/app/class/ShopHelper.php on line 204